export type FunType = 'plantSeed'

export interface HomeFunData {
  [key: string]: HomeFun
}

export interface HomeFun {
  id: FunType
  text: string
  disabled: boolean
  enabled: boolean
  number: number
  useNumber: boolean
  useSplit: boolean
  tooltip: HomeFunTooltip
}

export interface HomeFunTooltip {
  desc: string
  depend: HomeFunTooltipDepend[]
  descDetails: string[]
  note: string
}

export interface HomeFunTooltipDepend {
  id: string
  use: number
}

// 家园属性
export type HomeFunProperty =
  /* 捕获力 */
  'catchPower'

export type HomeFunPropertyData = {
  [P in HomeFunProperty]: number
}
